/// id : "1739199586845806671"
/// userId : "1720265592295837764"
/// channel : "wechat"
/// openid : "okdxh6ffLndZmEaU30or5x10T0GM"
/// username : "郭  小贤"

class ThreeLoginDto {
  ThreeLoginDto({
      String? id, 
      String? userId, 
      String? channel, 
      String? openid, 
      String? username,}){
    _id = id;
    _userId = userId;
    _channel = channel;
    _openid = openid;
    _username = username;
}

  ThreeLoginDto.fromJson(dynamic json) {
    _id = json['id'];
    _userId = json['userId'];
    _channel = json['channel'];
    _openid = json['openid'];
    _username = json['username'];
  }
  String? _id;
  String? _userId;
  String? _channel;
  String? _openid;
  String? _username;
ThreeLoginDto copyWith({  String? id,
  String? userId,
  String? channel,
  String? openid,
  String? username,
}) => ThreeLoginDto(  id: id ?? _id,
  userId: userId ?? _userId,
  channel: channel ?? _channel,
  openid: openid ?? _openid,
  username: username ?? _username,
);
  String? get id => _id;
  String? get userId => _userId;
  String? get channel => _channel;
  String? get openid => _openid;
  String? get username => _username;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['userId'] = _userId;
    map['channel'] = _channel;
    map['openid'] = _openid;
    map['username'] = _username;
    return map;
  }

}